import unittest
from tools.HTMLTestRunner import HTMLTestRunner
from scripts.test01_login import IHRM_LOGIN
import app
import time


suite = unittest.TestSuite()

suite.addTest(unittest.makeSuite(IHRM_LOGIN))
# report = app.BASE_DIR+"/report/report-{}.html".format(time.strftime("%Y%m%d-%h%M%S"))
report = "./report/report.html"
with open(report,"wb") as f:
    runner = HTMLTestRunner(f,title="ss")
    runner.run(suite)